<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Grupo12daturma2MIEIC4: Referência à classe Connection</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- Gerado por Doxygen 1.7.4 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Localizar');
--></script>
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Grupo12daturma2MIEIC4&#160;<span id="projectnumber">1.0</span></div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Página&#160;principal</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Ficheiros</span></a></li>
      <li id="searchli">
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Localizar" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Lista&#160;de&#160;componentes</span></a></li>
      <li><a href="classes.html"><span>Índice&#160;dos&#160;componentes</span></a></li>
      <li><a href="functions.html"><span>Componentes&#160;membro</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('class_connection.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-methods">Membros públicos</a> &#124;
<a href="#pri-attribs">Atributos Privados</a>  </div>
  <div class="headertitle">
<div class="title">Referência à classe Connection</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="Connection" -->
<p><code>#include &lt;<a class="el" href="connection_8h_source.html">connection.h</a>&gt;</code></p>

<p><a href="class_connection-members.html">Mostrar lista completa dos membros</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Membros públicos</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_connection.html#a9de94289ca6259f94ef6aeba3b134a77">Connection</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_connection.html#a4b9f6db1fb42fc9857f829fa0bc52e6e">sendMsg</a> (string msg)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_connection.html#a1df16b436751b686d96c24ca0c498659">readLine</a> ()</td></tr>
<tr><td colspan="2"><h2><a name="pri-attribs"></a>
Atributos Privados</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">SOCKET&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_connection.html#a50ca7c17a64836ca25a1fe9953cc6cf6">sock</a></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Descrição detalhada</h2>
<div class="textblock">
<p>Definido na linha <a class="el" href="connection_8h_source.html#l00028">28</a> do ficheiro <a class="el" href="connection_8h_source.html">connection.h</a>.</p>
</div><hr/><h2>Documentação dos Construtores &amp; Destrutor</h2>
<a class="anchor" id="a9de94289ca6259f94ef6aeba3b134a77"></a><!-- doxytag: member="Connection::Connection" ref="a9de94289ca6259f94ef6aeba3b134a77" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Connection::Connection </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definido na linha <a class="el" href="connection_8cpp_source.html#l00015">15</a> do ficheiro <a class="el" href="connection_8cpp_source.html">connection.cpp</a>.</p>

<p>Referências <a class="el" href="connection_8cpp_source.html#l00010">myerror()</a> e <a class="el" href="connection_8h_source.html#l00038">sock</a>.</p>

</div>
</div>
<hr/><h2>Documentação dos métodos</h2>
<a class="anchor" id="a1df16b436751b686d96c24ca0c498659"></a><!-- doxytag: member="Connection::readLine" ref="a1df16b436751b686d96c24ca0c498659" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">string Connection::readLine </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definido na linha <a class="el" href="connection_8cpp_source.html#l00071">71</a> do ficheiro <a class="el" href="connection_8cpp_source.html">connection.cpp</a>.</p>

<p>Referências <a class="el" href="connection_8h_source.html#l00038">sock</a>.</p>

<p>Referenciado por <a class="el" href="connection_8cpp_source.html#l00063">sendMsg()</a>.</p>

</div>
</div>
<a class="anchor" id="a4b9f6db1fb42fc9857f829fa0bc52e6e"></a><!-- doxytag: member="Connection::sendMsg" ref="a4b9f6db1fb42fc9857f829fa0bc52e6e" args="(string msg)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Connection::sendMsg </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>msg</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definido na linha <a class="el" href="connection_8cpp_source.html#l00063">63</a> do ficheiro <a class="el" href="connection_8cpp_source.html">connection.cpp</a>.</p>

<p>Referências <a class="el" href="connection_8cpp_source.html#l00010">myerror()</a>, <a class="el" href="connection_8cpp_source.html#l00071">readLine()</a> e <a class="el" href="connection_8h_source.html#l00038">sock</a>.</p>

<p>Referenciado por <a class="el" href="graphviewer_8cpp_source.html#l00098">GraphViewer::addEdge()</a>, <a class="el" href="graphviewer_8cpp_source.html#l00084">GraphViewer::addNode()</a>, <a class="el" href="graphviewer_8cpp_source.html#l00077">GraphViewer::closeWindow()</a>, <a class="el" href="graphviewer_8cpp_source.html#l00070">GraphViewer::createWindow()</a>, <a class="el" href="graphviewer_8cpp_source.html#l00119">GraphViewer::defineEdgeColor()</a>, <a class="el" href="graphviewer_8cpp_source.html#l00155">GraphViewer::defineVertexColor()</a>, <a class="el" href="graphviewer_8cpp_source.html#l00013">GraphViewer::GraphViewer()</a>, <a class="el" href="graphviewer_8cpp_source.html#l00176">GraphViewer::rearrange()</a>, <a class="el" href="graphviewer_8cpp_source.html#l00133">GraphViewer::removeEdge()</a>, <a class="el" href="graphviewer_8cpp_source.html#l00126">GraphViewer::removeNode()</a>, <a class="el" href="graphviewer_8cpp_source.html#l00169">GraphViewer::setBackground()</a>, <a class="el" href="graphviewer_8cpp_source.html#l00140">GraphViewer::setEdgeColor()</a>, <a class="el" href="graphviewer_8cpp_source.html#l00105">GraphViewer::setEdgeLabel()</a>, <a class="el" href="graphviewer_8cpp_source.html#l00147">GraphViewer::setEdgeThickness()</a>, <a class="el" href="graphviewer_8cpp_source.html#l00162">GraphViewer::setVertexColor()</a> e <a class="el" href="graphviewer_8cpp_source.html#l00112">GraphViewer::setVertexLabel()</a>.</p>

</div>
</div>
<hr/><h2>Documentação dos dados membro</h2>
<a class="anchor" id="a50ca7c17a64836ca25a1fe9953cc6cf6"></a><!-- doxytag: member="Connection::sock" ref="a50ca7c17a64836ca25a1fe9953cc6cf6" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">SOCKET <a class="el" href="class_connection.html#a50ca7c17a64836ca25a1fe9953cc6cf6">Connection::sock</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definido na linha <a class="el" href="connection_8h_source.html#l00038">38</a> do ficheiro <a class="el" href="connection_8h_source.html">connection.h</a>.</p>

<p>Referenciado por <a class="el" href="connection_8cpp_source.html#l00015">Connection()</a>, <a class="el" href="connection_8cpp_source.html#l00071">readLine()</a> e <a class="el" href="connection_8cpp_source.html#l00063">sendMsg()</a>.</p>

</div>
</div>
<hr/>A documentação para esta classe foi gerada a partir dos seguintes ficheiros:<ul>
<li>C:/Users/Paulo/Documents/FEUP/EclipseWorkSpace/calgrafos/src/<a class="el" href="connection_8h_source.html">connection.h</a></li>
<li>C:/Users/Paulo/Documents/FEUP/EclipseWorkSpace/calgrafos/src/<a class="el" href="connection_8cpp_source.html">connection.cpp</a></li>
</ul>
</div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="class_connection.html">Connection</a>      </li>
      <li class="footer">Gerado em Fri May 13 2011 02:00:26 para Grupo12daturma2MIEIC4 por&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>Tudo</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Ficheiros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Funções</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variáveis</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Amigos</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Macros</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>


</body>
</html>
